Gruvbox theme - #62
Merged
Merged
Conversation
MiniCodeMonkey
force-pushed
the
gruvbox
branch
from
September 28, 2026 05:05
3bea265 to
dadd069
Compare
Owner
|
Thanks for the theme work, and sorry for the delay. Main moved CLI routing into Cobra commands, so I rebased and moved the theme loading from |
…-dark theme. Add `theme` key to .chief/config.yaml supporting "catppuccin-mocha" and "gruvbox-dark". Config is read at TUI startup before InitStyles(); invalid theme names fall back to catppuccin-mocha with a warning to stderr.
The gruvbox theme commit set the active theme and called InitStyles() in the pre-Cobra cmd/chief/main.go, which no longer runs any TUI logic after the Cobra refactor. Move the config-driven theme resolution and InitStyles() call into runTUI() in cmd/chief/commands/root.go so themes still apply when the TUI starts. Claude-Session: https://claude.ai/code/session_01Fxi8Py1Weyua51Y1RBt2NP
renderInterruptedWarning hardcoded a catppuccin-derived background color (#3D3000) that stayed fixed regardless of the active theme, clashing with gruvbox-dark's palette. Add WarningBgColor to Theme, give it a value for both palettes, and use it instead of the literal. Claude-Session: https://claude.ai/code/session_01Fxi8Py1Weyua51Y1RBt2NP
MiniCodeMonkey
force-pushed
the
gruvbox
branch
from
September 28, 2026 10:12
dadd069 to
ba04089
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
themekey to .chief/config.yaml supportingcatppuccin-mochaandgruvbox-dark, making it extensible for more themes later. Config is read at TUI startup before InitStyles(); Invalid theme names fall back tocatppuccin-mochawith a warning to stderr.